package org.artifact.core.context.packet;

public class NetworkHeader {
    /** 唯一表示 */
    public static final int ID = 0;
    /** 命令 */
    public static final int COMMAND = 1;
    /** 状态 */
    public static final int STATUS = 2;
    /** 模块 */
    public static final int MODULE = 3;
    /** 方法 */
    public static final int METHOD = 4;
    /** 类型 */
    public static final int TYPE = 5;
    /** 标签 */
    public static final int TAG = 6;

    /** 后续可扩展加密方式，验证方式、校验和等等 */












    /** 类型-默认包 */
    public static final int TYPE_DEFAULT = 1;
    /** 类型-心跳包 */
    public static final int TYPE_HEARTBEAT = 2;
    /** 类型-确认包 */
    public static final int TYPE_ACK = 3;
}
